/*    */ package com.wgcloud.entity;
/*    */ 
/*    */ import com.wgcloud.entity.BaseEntity;
/*    */ import com.wgcloud.util.DateUtil;
/*    */ import java.util.Date;
/*    */ import org.apache.commons.lang3.StringUtils;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class AppState
/*    */   extends BaseEntity
/*    */ {
/*    */   private static final long serialVersionUID = 1L;
/*    */   private String appInfoId;
/*    */   private Double cpuPer;
/*    */   private Double memPer;
/*    */   private String dateStr;
/*    */   private Date createTime;
/*    */   
/*    */   public Double getCpuPer() {
/* 53 */     return this.cpuPer;
/*    */   }
/*    */   
/*    */   public void setCpuPer(Double cpuPer) {
/* 57 */     this.cpuPer = cpuPer;
/*    */   }
/*    */ 
/*    */   
/*    */   public String getAppInfoId() {
/* 62 */     return this.appInfoId;
/*    */   }
/*    */   
/*    */   public void setAppInfoId(String appInfoId) {
/* 66 */     this.appInfoId = appInfoId;
/*    */   }
/*    */   
/*    */   public Double getMemPer() {
/* 70 */     return this.memPer;
/*    */   }
/*    */   
/*    */   public void setMemPer(Double memPer) {
/* 74 */     this.memPer = memPer;
/*    */   }
/*    */   
/*    */   public Date getCreateTime() {
/* 78 */     return this.createTime;
/*    */   }
/*    */   
/*    */   public void setCreateTime(Date createTime) {
/* 82 */     this.createTime = createTime;
/*    */   }
/*    */   
/*    */   public String getDateStr() {
/* 86 */     String s = DateUtil.getDateTimeString(getCreateTime());
/* 87 */     if (!StringUtils.isEmpty(s) && s.length() > 16) {
/* 88 */       return s.substring(11);
/*    */     }
/* 90 */     return this.dateStr;
/*    */   }
/*    */   
/*    */   public void setDateStr(String dateStr) {
/* 94 */     this.dateStr = dateStr;
/*    */   }
/*    */ }


/* Location:              /Users/zhangyongxin/soft-install/wgcloud/wgcloud-v3.3.5/server/bank/wgcloud-server-release.jar!/BOOT-INF/classes/com/wgcloud/entity/AppState.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */